<xx-toolbar></xx-toolbar>

<md-content layout-fill>
    <div layout="column" layout-align="center center">
        <div style="height: 50px;"></div>
        <h1>问我吧！</h1>
        <p>一个为你寻找答案的地方...</p>
        <div layout="column" layout-align="center">
            <div layout-gt-xs="row">
                <md-input-container>
                    <label>用户名</label>
                    <input ng-model="user.username" required>
                </md-input-container>
                <md-input-container>
                    <label>密码</label>
                    <input ng-model="user.password" required>
                </md-input-container>
            </div>
            <div layout-gt-xs="row">
                <md-input-container layout-gt-xs="row">
                    <label>真实姓名</label>
                    <input ng-model="user.realName" required>
                </md-input-container>
                <md-input-container>
                    <label>手机号码</label>
                    <input ng-model="user.phone" required>
                </md-input-container>
            </div>
            <div layout-gt-xs="column">
              <md-input-container>
                <label>籍贯</label>
                <input ng-model="user.native" required>
              </md-input-container>
              <md-input-container>
                <label>学历</label>
                <input ng-model="user.education" required>
              </md-input-container>
              <md-input-container>
                <label>出生日期</label>
                <md-datepicker ng-model="user.birthday" required></md-datepicker>
              </md-input-container>
                <!--
                <md-input-container>
                    <md-textarea-container class="md-block">
                        <textarea required ng-model="answerDesc"  md-maxlength="200" rows="5" placeholder="自我介绍（200字内）"></textarea>
                    </md-textarea-container>
                </md-input-container>
                -->
              <div flex style="height:30px"></div>
            </div>
            <md-content layout="row" layout-align="center center">
                <md-button ng-click='register(user)' class="md-raised md-warn">注册</md-button>
                <md-button ng-click='registerCon()' class="md-raised md-primary">注册咨询师</md-button>
            </md-content>
        </div>
    </div>
    <br><br><br><br>
</md-content>
